package scc.project.entity;

import java.util.Date;

public class StockInfo {
    private Long id;
    private String code;
    private Date stockDate;
    private Double dealPrice;
    private Integer empId;
    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Date getStockDate() {
        return stockDate;
    }

    public void setStockDate(Date stockDate) {
        this.stockDate = stockDate;
    }


    public Double getDealPrice() {
        return dealPrice;
    }

    public void setDealPrice(Double dealPrice) {
        this.dealPrice = dealPrice;
    }


    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public String toString() {
        return "StockInfo{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", stockDate=" + stockDate +
                ", dealPrice=" + dealPrice +
                ", empId=" + empId +
                ", remark='" + remark + '\'' +
                '}';
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();

    }
}